package org.example.workbench.service;

import org.example.workbench.domain.Funnel;
import org.example.workbench.domain.Tran;

import java.util.List;
import java.util.Map;

public interface TranService {
    public void saveTran(Map<String,Object> map);
    Tran getTranDetailByid(String id);
    List<Funnel> getStageAndStageNumber();
    List<Tran> getTranDetailByCustomerId(String customerId);
    int deleteTranById(String tranId);
    List<Tran> getTranByContactsId(String contactsId);
    List<Tran> getTranPagesByMap(Map<String,Object> map);
    int getTotalCountTran(Map<String,Object> map);
}
